<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			window.onload = function(){
				var oDiv = document.getElementById('box');
				var addDiv = document.createDocumentFragment();
				
				for(var i = 0 ; i<3;i++){
					var addP = document.createElement('p')
					addDiv.appendChild(addP)
				};
				
				oDiv.appendChild(addDiv)
			}
		</script>
	</head>
	<body>
		<div id="box">
			
		</div>
	</body>
</html>
